home *** CD-ROM | disk | FTP | other *** search
- /* ************************************************************ */
- /* Demo2.c For Turbo C */
- /* */
- /* Rcar was created by saving the image as a TC Constant */
- /* from Raster Master. */
- /* ************************************************************ */
- #include <stdio.h>
- #include <graphics.h>
-
- void main()
- {
- int driver = VGA;
- int mode = VGALO;
-
- /* Turbo C, Width= 28 Height= 16 Colors= 16 */
-
- char Rcar[262] = {
- 0x1B,0x00,0x0F,0x00,0x00,0x00,0x00,0x00,0x00,0x3C,0x00,0x00,
- 0x00,0x00,0x00,0x00,0xFF,0xC3,0xFF,0xFF,0x00,0x3F,0x00,0x00,
- 0x00,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0x80,0xFF,0xFF,
- 0x00,0x40,0x00,0x00,0x60,0xC1,0x80,0x00,0x00,0x01,0x80,0x00,
- 0x9F,0x01,0xFF,0xFF,0x00,0x80,0x00,0x00,0x71,0x80,0xC0,0x00,
- 0x00,0x00,0xC0,0x00,0x8E,0x00,0xFF,0xFF,0x01,0x00,0x00,0x00,
- 0x1B,0x80,0x60,0x00,0x00,0x00,0x60,0x00,0xE4,0x00,0x7F,0xFF,
- 0x01,0x80,0x00,0x00,0x1F,0xC0,0x30,0x00,0x00,0x00,0x30,0x00,
- 0xE0,0x00,0x3F,0xFF,0x1C,0x00,0x00,0x00,0x3F,0xFF,0xFF,0x00,
- 0x00,0x00,0x00,0x00,0xC0,0x00,0x00,0xFF,0x3F,0x8F,0xEF,0x00,
- 0x7F,0xFF,0xFF,0xC0,0x00,0x10,0x00,0x00,0x80,0x10,0x00,0x3F,
- 0x71,0xDF,0xF0,0x80,0xFF,0xFF,0xFF,0xE0,0x00,0x00,0x00,0x40,
- 0x00,0x00,0x00,0x5F,0x60,0xDF,0xF0,0x00,0xF1,0xFF,0xF8,0xF0,
- 0x80,0x00,0x00,0x60,0x80,0x00,0x00,0x6F,0x40,0x5F,0xE0,0x00,
- 0xE0,0xFF,0xF0,0x70,0x80,0x00,0x00,0x20,0x80,0x00,0x00,0x2F,
- 0x04,0x1F,0xC2,0x00,0xC4,0x7F,0xE2,0x30,0x04,0x00,0x02,0x00,
- 0x04,0x00,0x02,0x0F,0x0E,0x00,0x07,0x00,0xCA,0x7F,0xE5,0x30,
- 0x0A,0x00,0x05,0x00,0x0A,0x00,0x05,0x0F,0x04,0x00,0x02,0x00,
- 0x04,0x00,0x02,0x00,0x04,0x00,0x02,0x00,0xC4,0x7F,0xE2,0x3F,
- 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0xE0,0xFF,0xF0,0x7F,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
- 0x00,0x00,0x00,0x00,0xF1,0xFF,0xF8,0xFF,0x00,0x00};
-
- initgraph(&driver, &mode, "");
- setfillstyle(SOLID_FILL,BLUE);
- bar(0,0,getmaxx(),getmaxy());
- putimage(0,0,Rcar,COPY_PUT);
- getch();
- closegraph();
- }
-